package com.bbu.javaexam.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bbu.javaexam.domain.Student;

/**
 * @author Alex
 * @version 1.0.0
 * @ClassName StudentService.java
 * @Description TODO
 */
public interface StudentService extends IService<Student> {
    IPage<Student> findAll(Page<Student> page);

    Student findById(Integer studentId);

    int deleteById(Integer studentId);

    int update(Student student);

    int updatePwd(Student student);

    int add(Student student);
}
